package com.caiyouxi.app.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单信息。
 */
public class AppOrdersBean implements Serializable {

    private Long id; //订单编号

    private Integer app_id; //应用编号

    private Integer channel_id; //渠道编号

    private String channel_order_id; //渠道订单编号

    private String currency; //货币。目前总是 RMB

    private String extension; //扩展信息。

    private Integer amount; //订单支付金额，精确到分

    private String status; //订单状态

    private Integer app_user_id; //用户编号，

    private String app_user_name; //用户名

    private Date create_time; //创建时间

    private Date sdk_create_time; //订单在 sdk 端创建时间 参考下 u8版本是怎么用的

    private Date complete_time; //订单完成或取消时间。

    private String data; //订单数据，针对游戏，目前需要的字段如下：

    private String goods_id; //	商品编号

    private String goods_name; //	商品名称

    private String goods_detail; //商品详情

    private Integer goods_price; //商品定价，精确到分。

    private String cp_pay_callback_url; //充值完成后，通知游戏方的回调地址。该地址由游戏方在创建订单时提供，如果该字段为空，则使用该游戏方的全局配置的 url

    private String sign;

    private Integer is_del;//是否已删除

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getApp_id() {
        return app_id;
    }

    public void setApp_id(Integer app_id) {
        this.app_id = app_id;
    }

    public Integer getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(Integer channel_id) {
        this.channel_id = channel_id;
    }

    public String getChannel_order_id() {
        return channel_order_id;
    }

    public void setChannel_order_id(String channel_order_id) {
        this.channel_order_id = channel_order_id;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getApp_user_id() {
        return app_user_id;
    }

    public void setApp_user_id(Integer app_user_id) {
        this.app_user_id = app_user_id;
    }

    public String getApp_user_name() {
        return app_user_name;
    }

    public void setApp_user_name(String app_user_name) {
        this.app_user_name = app_user_name;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getSdk_create_time() {
        return sdk_create_time;
    }

    public void setSdk_create_time(Date sdk_create_time) {
        this.sdk_create_time = sdk_create_time;
    }

    public Date getComplete_time() {
        return complete_time;
    }

    public void setComplete_time(Date complete_time) {
        this.complete_time = complete_time;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_detail() {
        return goods_detail;
    }

    public void setGoods_detail(String goods_detail) {
        this.goods_detail = goods_detail;
    }

    public Integer getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public String getCp_pay_callback_url() {
        return cp_pay_callback_url;
    }

    public void setCp_pay_callback_url(String cp_pay_callback_url) {
        this.cp_pay_callback_url = cp_pay_callback_url;
    }
}